package com.run.runbbs.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.run.runbbs.entity.IndexValue;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

@Mapper
public interface IndexValueMapper extends BaseMapper<IndexValue> {
    List<IndexValue> getChartData(@Param("userId") Integer userId, @Param("indexType") String indexType);
    List<IndexValue> getIndexValue(@Param("userId") Integer userId, @Param("indexType") String indexType, int offset, int limit);
    List<IndexValue> getAbnormalTemperature();
}
